package com.idemon.config;

import com.idemon.ds.controller.DataController;
import com.idemon.ds.controller.IndexController;
import com.idemon.ds.controller.LoginController;
import com.idemon.ds.controller.UserController;
import com.jfinal.config.Routes;
import com.jfinal.kit.PropKit;

public class FrontRoutes extends Routes {

	@Override
	public void config() {
		setBaseViewPath(PropKit.get(Consts.KEY_FRONT_BASE_VIEW_PATH));
		add("/", IndexController.class,"/");
		add("/init", DataController.class,"/");
		add("/account", LoginController.class,"/");
		add("/usercenter", UserController.class,"/");
	}

}
